ICaptchaValidator
Ecng.Net.Captcha
Provides functionality to validate captcha responses.
Métodos
ValidateAsync
public Task<TResult> ValidateAsync(string response, string address, CancellationToken cancellationToken)
result = iCaptchaValidator.ValidateAsync(response, address, cancellationToken)
Validates the captcha response asynchronously.
- response
- The captcha response provided by the user.
- address
- The IP address associated with the captcha request.
- cancellationToken
- A token to monitor for cancellation requests.
Devuelve: A task that represents the asynchronous validation operation with a result of type .